package io.kubesphere.devops.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MergeAction implements Serializable {
    private static final long serialVersionUID = 1L;
    private String userMergingId;
    private String sourceIdentificationId;
    private String targetIdentificationId;
    private String status;
    private List<PartitionAction> actionList = new ArrayList<>();

    public List<PartitionAction> getPartitionActionList() {
        return actionList;
    }

    public MergeAction setActionList(List<PartitionAction> actionList) {
        this.actionList = actionList;
        return this;
    }

    public String getUserMergingId() {
        return userMergingId;
    }

    public MergeAction setUserMergingId(String userMergingId) {
        this.userMergingId = userMergingId;
        return this;
    }

    public String getSourceIdentificationId() {
        return sourceIdentificationId;
    }

    public MergeAction setSourceIdentificationId(String sourceIdentificationId) {
        this.sourceIdentificationId = sourceIdentificationId;
        return this;
    }

    public String getTargetIdentificationId() {
        return targetIdentificationId;
    }

    public MergeAction setTargetIdentificationId(String targetIdentificationId) {
        this.targetIdentificationId = targetIdentificationId;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public MergeAction setStatus(String status) {
        this.status = status;
        return this;
    }
}
